package com.telit.firecommand.model.cityVisualization;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * 查询物资列表request
 *
 * @author yuezhuang
 * @since 2023-03-20
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "QryResourceListRequest", description = "查询物资列表request")
public class QryResourceListRequest implements Serializable {

    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "行政区划编码")
    private String districtCode;

    @ApiModelProperty(value = "分类级别")
    private Integer rank;

    @ApiModelProperty(value = "分类id")
    private String catId;

    @ApiModelProperty(value = "分类ids，英文逗号拼接。优先级高于 catId + rank")
    private String catIds;

    @ApiModelProperty(value = "当前页数， 默认1")
    private Integer current;

    @ApiModelProperty(value = "每页条数， 默认20")
    private Integer size;

    @ApiModelProperty(value = "设备名称")
    private String resourceName;

}
